using FastNetCore.Framework.Configurations;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddFrameworkServices(builder.Configuration,options =>
{
    //路由配置
    options.Route.DefaultRouteTemplate = "api/v1/[controller]/[action]";
});

var app = builder.Build();

app.UseFastNetCoreMiddleware();

app.Run();
